{"ast":null,"code":"import { Keyframes } from '@ant-design/cssinjs';\nconst uploadAnimateInlineIn = new Keyframes('uploadAnimateInlineIn', {\n  from: {\n    width: 0,\n    height: 0,\n    margin: 0,\n    padding: 0,\n    opacity: 0\n  }\n});\nconst uploadAnimateInlineOut = new Keyframes('uploadAnimateInlineOut', {\n  to: {\n    width: 0,\n    height: 0,\n    margin: 0,\n    padding: 0,\n    opacity: 0\n  }\n});\n// =========================== Motion ===========================\nconst genMotionStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const inlineCls = `${componentCls}-animate-inline`;\n  return [{\n    [`${componentCls}-wrapper`]: {\n      [`${inlineCls}-appear, ${inlineCls}-enter, ${inlineCls}-leave`]: {\n        animationDuration: token.motionDurationSlow,\n        animationTimingFunction: token.motionEaseInOutCirc,\n        animationFillMode: 'forwards'\n      },\n      [`${inlineCls}-appear, ${inlineCls}-enter`]: {\n        animationName: uploadAnimateInlineIn\n      },\n      [`${inlineCls}-leave`]: {\n        animationName: uploadAnimateInlineOut\n      }\n    }\n  }, uploadAnimateInlineIn, uploadAnimateInlineOut];\n};\nexport default genMotionStyle;","map":{"version":3,"names":["Keyframes","uploadAnimateInlineIn","from","width","height","margin","padding","opacity","uploadAnimateInlineOut","to","genMotionStyle","token","componentCls","inlineCls","animationDuration","motionDurationSlow","animationTimingFunction","motionEaseInOutCirc","animationFillMode","animationName"],"sources":["/data/messenger.client/node_modules/antd/es/upload/style/motion.js"],"sourcesContent":["import { Keyframes } from '@ant-design/cssinjs';\nconst uploadAnimateInlineIn = new Keyframes('uploadAnimateInlineIn', {\n  from: {\n    width: 0,\n    height: 0,\n    margin: 0,\n    padding: 0,\n    opacity: 0\n  }\n});\nconst uploadAnimateInlineOut = new Keyframes('uploadAnimateInlineOut', {\n  to: {\n    width: 0,\n    height: 0,\n    margin: 0,\n    padding: 0,\n    opacity: 0\n  }\n});\n// =========================== Motion ===========================\nconst genMotionStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const inlineCls = `${componentCls}-animate-inline`;\n  return [{\n    [`${componentCls}-wrapper`]: {\n      [`${inlineCls}-appear, ${inlineCls}-enter, ${inlineCls}-leave`]: {\n        animationDuration: token.motionDurationSlow,\n        animationTimingFunction: token.motionEaseInOutCirc,\n        animationFillMode: 'forwards'\n      },\n      [`${inlineCls}-appear, ${inlineCls}-enter`]: {\n        animationName: uploadAnimateInlineIn\n      },\n      [`${inlineCls}-leave`]: {\n        animationName: uploadAnimateInlineOut\n      }\n    }\n  }, uploadAnimateInlineIn, uploadAnimateInlineOut];\n};\nexport default genMotionStyle;"],"mappings":"AAAA,SAASA,SAAS,QAAQ,qBAAqB;AAC/C,MAAMC,qBAAqB,GAAG,IAAID,SAAS,CAAC,uBAAuB,EAAE;EACnEE,IAAI,EAAE;IACJC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE,CAAC;IACTC,OAAO,EAAE,CAAC;IACVC,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AACF,MAAMC,sBAAsB,GAAG,IAAIR,SAAS,CAAC,wBAAwB,EAAE;EACrES,EAAE,EAAE;IACFN,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE,CAAC;IACTC,OAAO,EAAE,CAAC;IACVC,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AACF;AACA,MAAMG,cAAc,GAAGC,KAAK,IAAI;EAC9B,MAAM;IACJC;EACF,CAAC,GAAGD,KAAK;EACT,MAAME,SAAS,GAAI,GAAED,YAAa,iBAAgB;EAClD,OAAO,CAAC;IACN,CAAE,GAAEA,YAAa,UAAS,GAAG;MAC3B,CAAE,GAAEC,SAAU,YAAWA,SAAU,WAAUA,SAAU,QAAO,GAAG;QAC/DC,iBAAiB,EAAEH,KAAK,CAACI,kBAAkB;QAC3CC,uBAAuB,EAAEL,KAAK,CAACM,mBAAmB;QAClDC,iBAAiB,EAAE;MACrB,CAAC;MACD,CAAE,GAAEL,SAAU,YAAWA,SAAU,QAAO,GAAG;QAC3CM,aAAa,EAAElB;MACjB,CAAC;MACD,CAAE,GAAEY,SAAU,QAAO,GAAG;QACtBM,aAAa,EAAEX;MACjB;IACF;EACF,CAAC,EAAEP,qBAAqB,EAAEO,sBAAsB,CAAC;AACnD,CAAC;AACD,eAAeE,cAAc"},"metadata":{},"sourceType":"module"}